﻿<UserControl x:Class="Kokomo.PeInspector.TableView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:c="clr-namespace:Kokomo.Controls;assembly=Kokomo.UI"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
	<Grid>
		<TextBlock Text="You should see a table"/>
		<c:TypedDataGrid
			Grid.Row="1"
			IsReadOnly="True"
			ItemsSource="{Binding Table}"
			HorizontalGridLinesBrush="LightGray"
			VerticalGridLinesBrush="LightGray"
			>
				<!--<c:TypedDataGrid.Columns>
				<c:DataGridRowIndexColumn/>
			</c:TypedDataGrid.Columns>-->
				<!--<DataGrid.RowHeaderStyle>
				<Style TargetType="{x:Type DataGridRowHeader}">
					<Setter Property="ContentTemplate">
						<Setter.Value>
							<DataTemplate>
								<TextBlock Text="{Binding RelativeSource={RelativeSource AncestorType=DataGridRow}, Converter={StaticResource RowIndexConverter}}"/>
							</DataTemplate>
						</Setter.Value>
					</Setter>
					<Setter Property="DataContext" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGridRow}}"/>
				</Style>
			</DataGrid.RowHeaderStyle>-->
		</c:TypedDataGrid>
	</Grid>

</UserControl>
